var express = require('express');
var router = express.Router();
var fs = require('fs');
var path = require('path');

router.get('/', function (req, res, next) {
    var data = JSON.parse(fs.readFileSync(path.join(__dirname, './../data/critical_prj.json')));
    res.json(data);
});

module.exports = router;